<?php
/**
 * Created by PhpStorm.
 * User: chniccs
 * Date: 2019-12-07
 * Time: 14:43
 */

namespace app\model;


class AdminSubjectActive extends Base
{
    public function goodsInfo()
    {
        return $this->hasOne('AdminActives', 'id', 'goods_id')->field('id,title,banners');
    }
}